//
//  ViewController.m
//  房源详情-小区详情
//
//  Created by MB__Lee on 2018/5/25.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//

#import "ViewController.h"

//详情页
#import "MBHouseDetailVC.h"
#import "MBHouseDetailVCPush.h"


// 首页
#import "MBFirstVC.h"


@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}



- (IBAction)getIntoFirstPage:(id)sender {
    MBFirstVC *first = [[MBFirstVC alloc] init];
    [self.navigationController pushViewController:first animated:YES];
    
}













#pragma mark -----完结
//prensent---房源详情页面
- (IBAction)getInfoVC:(id)sender {
    MBHouseDetailVC *vc  = [[MBHouseDetailVC alloc] init];
    vc.sn = @"100048";
    
    [self presentViewController:vc animated:YES completion:nil];
    
}
// 房源详情页面
- (IBAction)pushInto:(id)sender {
    
    MBHouseDetailVCPush *vc = [[MBHouseDetailVCPush alloc] init];
    vc.sn = @"100048";
    [self.navigationController pushViewController:vc animated:YES];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
